import * as echarts from 'echarts';

let myChart = echarts.init(document.querySelector('#main'));
let option = {
  xAxis: {
    type: 'category',
    data: ['星期一', '星期二', '星期三', 'Thu', 'Fri', 'Sat', '星期日']
  },
  yAxis: {
    type: 'value'
  },
  series: [
    {
      data: [260, 230, 224, 218, 135, 147, 260],
      type: 'bar'
    }
  ]
};
myChart.setOption(option);

// 导入资源文件
import './demo.css'
import './abc.less'

import pic from './09.jpg'
let div = document.querySelector('.b')
div.style.backgroundImage = `url(${pic})`

console.log(456)